package com.aduerr.v1shouyin.util;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class SecrectDB extends SQLiteOpenHelper {

    private static final int VERSION = 1;
    public static String SecrectName = "secrect.db";

    public SecrectDB(Context context) {
        super(context, SecrectName, null, VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table secrect(id integer primary key autoincrement,DeviceID " +
                "text,DeviceSecret text)");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
